package com.lm.activiti.boot.design_pattern.factory;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @author lm_jcf
 * @date 2020/11/20 13:42
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration({"classpath*:applicationContext.xml"})
@Component
public class BeanConstructorTest {

    @Autowired
    private SpecificBeanConstructor customBeanConstructor;

    @Test
    public void testLogger(){

        customBeanConstructor.construct();
    }

}
